<?php
$CI =& get_instance();
$CI->load->library('pagination');
$CI->load->model('Model_user', 'model_user');
$t1 = unserialize($content['t1']);
$roles = empty($t1['roles']) ? null : $t1['roles'];
$users = $CI->model_user->fetch_by_roles($roles);
?>
<h2><img src="/label.php?label=<?=htmlspecialchars($node['nav_name'])?>" alt="<?=htmlspecialchars($node['nav_name'])?>"/></h2>
<?php foreach($users as $item):?>
<div class="user-cont">			
	<!--div class="google-map"><?=$item['google_map']?></div-->
	<h2><a href="<?=site_url(array('c' => 'home', 'm' => 'user_detail', 'nav'=> $node['id'], 'id' => $item['id']))?>"><?=$item['title']?></a></h2>
	<address>
		<p class="address"><label><?=lang('address');?></label> : <?=$item['address']?></p>
		<p class="phone"><label><?=lang('homephone');?></label> : <?=$item['home_phone']?></p>
		<p class="email"><label><?=lang('email');?></label> : <a href="mailto:<?=$item['email']?>" title="Send Email"><?=$item['email']?></a></p>
	</address>
	<div class="desc">
		<?=$item['desc']?>
	</div>
	<div class="clearfix"></div>
</div>
<?php endforeach;?>

